import 'Animal.dart';
import 'Dog.dart';
import 'Cat.dart';

void main(){
    Animal dog = new Dog("wang cai");
    Animal cat = new Cat("miao");

    if(dog is Animal){
        print("is animal");
    }
    print(cat);
    print(dog);
    cat.run();
    dog.run();
}